package com.aboverock.module.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.aboverock.module.system.domain.Resource;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Rock Wang
 * @since 2018-05-11
 */
public interface ResourceMapper extends BaseMapper<Resource> {
    
    /**
     * 根据登陆名查询该用户所拥有的资源.
     *
     * @param loginName the login name
     * @return the list
     */
    public List<Resource> selectResourcesByLoginName(@Param("loginName") String loginName);

}
